<style>
.win {
	color: Green;
}
.lost {
	color: Fuchsia;
}
.btnchoice {
	padding: 2pt 2pt 2pt 2pt;
	border: 1pt solid #aaa;
	cursor: pointer;
}
.btnchoiced {
	padding: 2pt 2pt 2pt 2pt;
	border: 1px solid Lime;
	background-color: Green;
	color: white;
}
.rate {font-weight:bold; color:red; font-family:Tahoma}
.td1red {
	background-color:#FFF9B6;color:red;font-weight:bold;text-align:center;
}
.td1blue {
	background-color:#FFF9B6;color:blue;font-weight:bold;text-align:center;
}
.td1green {
	background-color:#FFF9B6;color:green;font-weight:bold;text-align:center;
}
</style>
<script src="scr/{jslang}/unow1.js"></script>
{menuList}
<br>
<span id="hktime"></span>，<span id="countdownstr"></span>&#12288;&#12288;
<input type=button value="资料刷新" onclick=timer() onmouseout="this.style.color='';" onmouseover="this.style.color='#0CDDFF';">

<table width="900" border=0 cellspacing=0>
<tr valign=top><td colspan=5>
<div id=div0></div>
</td></tr></table>

<table width="55%"  cellpadding=1 cellspacing=2 border=1>
<tr><td><input type=button value="负值" onclick=protect_all() onmouseout="this.style.color='';" onmouseover="this.style.color='#0CDDFF';">&nbsp;&nbsp;
<td class=td5 align=center>&nbsp;特码走飞&nbsp;</td><td>&nbsp;&nbsp;赔率
<input name="b01" value="{b01}" size=3>&nbsp;&nbsp;退水
<input name="b02" value="{b02}" size=3>&nbsp;&nbsp;金额
<input name="b03" value="{b03}" size=6 onkeypress="return KeyNumber()">&nbsp;&nbsp;{select_usr1}&#12288;
<input {startnowdisable} type=button value="走飞" onclick=protect_b0() onmouseout="this.style.color='';" onmouseover="this.style.color='#0CDDFF';">
</td></tr></table>

<br>
<table width="900" border=0 cellspacing=0>
<tr valign=top>
<td><div id=div1></div></td>
<td><div id=div2></div></td>
<td><div id=div3></div></td>
</tr>
<tr valign=top>
<td><div id=div28></div></td>
<td><div id=div30></div></td>
<td><div id=div2a></div></td>
</tr>
<tr valign=top>
<td><div id=div47></div></td>
<td><div id=div49></div></td>
<td><div id=div50></div></td>
</tr></table>

<table width="55%"  cellpadding=1 cellspacing=2 border=1 >
<tr><td class=td5 align=center>&nbsp;特码两面/头/尾走飞&nbsp;</td><td>&nbsp;&nbsp;赔率
<input name="b11" value="{b11}" size=3>&nbsp;&nbsp;退水
<input name="b12" value="{b12}" size=3>&nbsp;&nbsp;金额
<input name="b13" value="{b13}" size=6 onkeypress="return KeyNumber()">&nbsp;&nbsp;{select_usr2}&#12288;
<input {startnowdisable} type=button value="走飞" onclick=protect_b1() onmouseout="this.style.color='';" onmouseover="this.style.color='#0CDDFF';">
</td></tr></table>

<script>
_id = {lotto_id};
_open = "{open}";

_total = "合计";
_tb0head = "<td nowrap>号码</td><td nowrap>金额</td><td nowrap>输赢</td><td nowrap>赔率</td><td nowrap>走飞</td>";
_tb1head = "<td nowrap>类别</td><td nowrap>金额</td><td nowrap>输赢</td><td nowrap>赔率</td><td nowrap>走飞</td>";
_tb46head = "<td nowrap>特大中小</td><td nowrap>金额</td><td nowrap>输赢</td><td nowrap>赔率</td><td nowrap>走飞</td>";
_tb49head = "<td nowrap>特码头</td><td nowrap>金额</td><td nowrap>输赢</td><td nowrap>赔率</td><td nowrap>操盘</td>";
_tb50head = "<td nowrap>特码尾</td><td nowrap>金额</td><td nowrap>输赢</td><td nowrap>赔率</td><td nowrap>操盘</td>";
_name1 = ["","特单","特双"];
_name2 = ["","特大","特小"];
_name2a = ["","家禽","野兽"];
_name3 = ["","合单","合双"];
_name28 = ["","特尾大","特尾小"];
_name30 = ["","合尾大","合尾小"];
_name47 = ["","合大","合小"];
_name49 = ["头0","头1","头2","头3","头4"];
_name50 = ["尾0","尾1","尾2","尾3","尾4","尾6","尾7","尾8","尾9"];
_status = "更新资料中.....";

function nowdate()
{
	document.all.hktime.innerHTML = "香港时间：<b>"+now.getDate()+"日"+d2(now.getHours())+":"+d2(now.getMinutes())+":"+d2(now.getSeconds())+"</b>";
	now.setTime(now.getTime() + 1000);
}

function countdown()
{
	var str = "<font color=red><b>已经截止下注！</b></font>";
	timediff = timestap;
	if (timestap >= 0) {
		days = Math.floor(timediff / (60 * 60 * 24));
		timediff -= days * (60 * 60 * 24);
		hours = Math.floor(timediff / (60 * 60));
		timediff -= hours * (60 * 60);
		mins = Math.floor(timediff / (60));
		timediff -= mins * (60);
		secs = Math.floor(timediff);
	
		str = "距离截止下注时间还有 ";
		if (days > 0 ) str += "<b>" + days + "</b> 天 ";
		if (hours > 0) str += "<b>" + hours + "</b> 小时 ";
		if (mins > 0) str += "<b>" + mins + "</b> 分钟 ";
		str += "<b>" + secs + "</b> 秒 ";
		timestap-=1;
	}
	countdownstr.innerHTML =  str;
}

var timestap = {timestap};
var now = new Date(1000 * {phptime});

setInterval("nowdate()", 1000);
setInterval("countdown()", 1000);

</script>